package vip

// # VIP-设备

func NewVipDevice() *vipDevice {
	return &vipDevice{}
}

type vipDevice struct {
	relationType uint
	relationId   uint
	productId    uint
	vipType      uint
	logType      uint
}

// ## Getter&Setter

func (v *vipDevice) RelationType() uint {
	return v.relationType
}

func (v *vipDevice) SetRelationType(relationType uint) *vipDevice {
	v.relationType = relationType

	return v
}

func (v *vipDevice) RelationId() uint {
	return v.relationId
}

func (v *vipDevice) SetRelationId(relationId uint) *vipDevice {
	v.relationId = relationId

	return v
}

func (v *vipDevice) ProductId() uint {
	return v.productId
}

func (v *vipDevice) SetProductId(productId uint) *vipDevice {
	v.productId = productId

	return v
}

func (v *vipDevice) VipType() uint {
	return v.vipType
}

func (v *vipDevice) SetVipType(vipType uint) *vipDevice {
	v.vipType = vipType

	return v
}

func (v *vipDevice) LogType() uint {
	return v.logType
}

func (v *vipDevice) SetLogType(logType uint) *vipDevice {
	v.logType = logType

	return v
}
